package com.inews.business.web;

import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.context.request.RequestAttributes;
import org.springframework.web.servlet.mvc.support.RedirectAttributes;

import com.inews.business.entity.Buyer;
import com.inews.business.service.BuyerService;


@Controller
@RequestMapping(value = "/control/center")
public class CenterController {
	
	private static final Logger logger = Logger.getLogger(CenterController.class);
	

	@RequestMapping(value = "main", method = RequestMethod.GET)
	public String main() {
		return "controlcenter/default";
	}
	
	@RequestMapping(value = "top", method = RequestMethod.GET)
	public String top() {
		return "controlcenter/top";
	}
	
	@RequestMapping(value = "left", method = RequestMethod.GET)
	public String left() {
		return "controlcenter/menu";
	}
	
	@RequestMapping(value = "right", method = RequestMethod.GET)
	public String right() {
		return "controlcenter/right";
	}
	
	@RequestMapping(value = "end", method = RequestMethod.GET)
	public String end() {
		return "controlcenter/end";
	}
	
}
